package com.fuze.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author sepc_
 * @date 4/20/2021 10:39
 */
@ApiModel(value = "DataGridView", description = "返回的列表数据的结果封装")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataGridView implements Serializable {
    private static final long serialVersionUID = 4418374866609809134L;
    /**
     * 数据总数
     */
    @ApiModelProperty(name = "total", value = "数据总数", required = true)
    private Long total;

    /**
     * 查询到的详细的数据记录
     */
    @ApiModelProperty(name = "records", value = "数据列表", required = true)
    private List<?> records;
}
